#ifndef QOUDP_H
#define QOUDP_H

/**
* @file qoudp.h
* @describe UDP通信
* @author gaoyuelong
* @date 2021/11/23
*/

#include <QUdpSocket>
#include <QHostAddress>

class QoUdp : public QObject
{
    Q_OBJECT
public:
    QoUdp();
    virtual ~QoUdp();

private slots:
    void readData();

private:
    QUdpSocket *m_pUdpSocket;
    QHostAddress m_hostAddress;
    quint16 m_iPort;
};

#endif // QOUDP_H
